package com.mcay.easyexcel.enums;

import lombok.Getter;

/**
 * easyexcel相关枚举
 * Created by  longHe
 * 2021/8/19 16:04
 */
@Getter
public enum  ExcelEnum {


    FILE_NOT_FOUND(1, "excel导出路径为空"),
    WRITE_LIST_NULL(2, "写入excel数据为空"),
    DYNAMIC_HEAD_LIST_NULL(3, "excel动态头部数据为空"),
    NO_MODEL(4, "excel实体对象为空"),
    ;

    private Integer code;
    private String message;

    ExcelEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
